package com.superyee.commonlib.constants;


/**
 * 项目描述：应用中所用到的静态常量集合类
 */

public class StaticConstant {

    /**
     * sharedpreference 存储key
     */
    public static class SP {
        public static final String SPREF_NAME = "zhb_sharedpreference_name";
        public static final String ACCESS_TOKEN = "access_token";
        public static final String AUTHORIZATION = "Authorization";
    }


    public static class Response {
        public final static String SUCCESS = "success";
        public final static String ERROR = "error";
        public final static String MESSAGE = "message";
        public static final String STATUS_CODE = "status_code";
        public static final String CODE = "code";
        public static final String ERRORS = "errors";
        public final static String DATA = "data";
        public final static String DEBUG = "debug";
        public final static String COUNT = "count";
        public final static String TOKEN = "token";
    }

    public static class RequestParam {
        public final static String PAGE = "page";
        public final static String PAGE_SIZE = "pagesize";
        public final static String TIMESTAMP = "timestamp";
        public final static String MID = "mid";
        public final static String NID = "nid";
        public final static String CID = "cid";
    }


    public static class Extra {
        public final static String ID = "id";
        public final static String USER_NAME = "username";
        public static final String TYPE = "type";
        public static final String DATA = "data";
        public static final String INDEX = "index";
    }


}
